package com.itheima.HomeWork;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Description Order
 * @Author GreenHand_Lu
 * @Date 2025-07-20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private double totalMoney;//订单总金额
    private String orderId;//订单id，唯一标识，不给用户看的
    private String orderNo;//订单号，唯一标识，给用户看的
    private String orderTime;//下单时间
    private List<OrderItem> orderItems;//订单项集合
}
